function Promise(f) {
    this.state = 0
    this.successHandlers = []
    this.failedHandlers = []
}
